function GuiTableBranchHistory() {
  
};

GuiTableBranchHistory.instance = function(prefix, produce) {
  var gui = { title: document.getElementById(prefix + '_title_div'),
              reverse: document.getElementById(prefix + '_reverse_div'),
              main: document.getElementById(prefix + '_main_table'),
//              records: []
            };
//  for (var i = 0, il = produce.events.length; i < il; i++) {
//    gui.records[gui.records.length] = GuiTableProduceHistory._record(prefix + '_' + i);
//  }
  return gui;
};

GuiTableBranchHistory._record = function(prefix) {
  return { date: document.getElementById(prefix + '_date_div'),
           operator: document.getElementById(prefix + '_operator_div'),
           content: document.getElementById(prefix + '_content_div'),
           extra: document.getElementById(prefix + '_extra_div')
         }
};
